﻿@using MvcMusicStore.Models
@using Webdiyer.WebControls.Mvc
@model PagedList<Genre>
     
<div id="ajaxlist">
<ul>
@foreach (var genre in Model)
{ 
<li>@Html.ActionLink(genre.Name, "Browse", new { genre=genre.Name})</li>
}
</ul>
@Ajax.Pager(Model, new PagerOptions { PageIndexParameterName = "id",ShowDisabledPagerItems=true ,SeparatorHtml=">"}, new AjaxOptions { UpdateTargetId="ajaxlist"})
</div>
